<?php
namespace Shopmodule\Model;
use Think\Model\ViewModel;
class ScoreViewModel extends ViewModel {
   public $viewFields = array(
     'score'=>array('_table'=>"sm_game_score",'id','level','range_level','lotts','score','time_round','game_name','_type'=>'LEFT'),
	 'suser'=>array('_table'=>'sm_shop_users','userid','sid','_on'=>'score.shopuid=suser.id','_type'=>'LEFT'),
	 'user'=>array('_table'=>'sm_user','usernick','_on'=>'suser.userid=user.id','_type'=>'LEFT')
   );
 }